What are the Wayzones ?
Bots will pick a point inside this radius
for their destination origin (based
on things like orientation etc.), this just makes movement
not that "static".
Ladder waypoints, camp waypoints and goal waypoints
will always have a radius
of 0. Don't try to change it ! After POD-Bot calculated
all Zones you should
walk all over your waypoints to verify that they are
reachable within their
radius. Try to be careful with the radius. If your path
bends around corners
it's better to lower the radius. You should set the
radius to 0 if the Path
goes through some narrow doorways or similar. You manually
assign a new value
by standing near to the waypoint and typing "waypoint
setradius x". Where x
is the value you want to assign. Valid ranges are 0-128.
The bigger, the wider
it is. You'll also notice, if you turned on pathwaypointing
some lines will
show you the radius of the actual waypoint (if it's
not 0).
Some Tips & Tricks when creating
waypoints:
I start by typing "waypoint on". After
that I type "autowaypoint on" and
"pathwaypoint on". Then I try to cover
the map with waypoints everywhere
I want the Bots to roam (except for ladder waypoints)
and manually adjust wayzone radii which aren't appropriate
. After this I try to think of the important points
for each team. I move to that position, delete the "normal"
waypoint and instead set a strategical waypoint at that
position. Then I place the goal waypoints, rescue waypoints
(if needed) and ladder waypoints. Then I do a lot of
test playing and checking with 'debuggoal' until I'm
finally satisfied with all of the movement.
When saving and there are errors, the waypoint number
with the error will be shown to you. Use 'waypoint find
x' where x is the number of the waypoint you want to
find. Green Beams will then show you the direction to
the waypoint if you previously turned on pathwaypoints.
Type 'waypoint find -1' to turn it off. Another useful
command for testing waypoints is the debuggoal command.
If you want to check out if Bots will make it through
a difficult route, save the waypoints, then load them
again and type debuggoal x, where x is again the number
of the waypoint. you want the Bot to reach. After that
add 1 Bot to your team and watch him move to that waypoint.
Be sure to turn it off again for real playing because
otherwise all of the Bots would take this waypoint as
a goal.
There's no waypoint for shooting breakables. The Bots
will automatically shoot them if it's blocking their
way, just make sure that the path connection goes right
through the breakable. There's also no button waypoint.
If a Bot sees a Button he will randomly try to press
it. If you want to make sure that the Bot uses the Button
you could do tricky waypoint connections leading towards
the button.
Back to Main POD-bot
Tutoria